package com.zhongyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhongyu.pojo.OrderDetail;
import com.zhongyu.pojo.StoreDetail;
import com.zhongyu.vo.ResultVo;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface OrderDetailService extends IService <OrderDetail> {
    List<OrderDetail> search();

    List<OrderDetail> searchAll(Integer id);
    void add2(OrderDetail orderDetail, HttpSession session);
    OrderDetail searchRu(Integer id);
    void add( StoreDetail storeDetail, HttpSession session);
    void add(OrderDetail orderDetail, HttpSession session);
    OrderDetail searchOut(Integer id);
    void addOut( StoreDetail storeDetail, HttpSession session) throws ResultVo;
}
